package com.example.dem4;

/**
 * @program: xian-cheng
 * @description:
 * @author: 诸葛龙辰
 * @create: 2022-10-31 20:29
 **/
public class Test {
    public static void main(String[] args) {
        BankCard bankCard=new BankCard(0);

        People people = new People(bankCard);
        People2 people2 = new People2(bankCard);

        Thread t1 = new Thread(people,"李相赫");
        Thread t2 = new Thread(people2,"骚猪");

        t1.start();
        t2.start();

    }
}
